void setup() {
  // put your setup code here, to run once:
  pinMode(13,INPUT_PULLUP);
  pinMode(12,INPUT_PULLUP);
  pinMode(11,INPUT_PULLUP);
  pinMode(5,OUTPUT);
  pinMode(6,OUTPUT);
  pinMode(3,OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  if(digitalRead(11)==0)
  {
    analogWrite(3,255);
    digitalWrite(5,HIGH);
    digitalWrite(6,LOW);
  }
  if(digitalRead(12)==0)
  {
    analogWrite(3,255);
    digitalWrite(5,LOW);
    digitalWrite(6,HIGH);
  }
  if(digitalRead(13)==0)
  {
    analogWrite(3,255);
    digitalWrite(13,LOW);
    digitalWrite(12,LOW);
  }
}
